package phone;

import java.math.BigDecimal;

public class Phone {
    String brand;
    //    BigDecimal price;
    double price;
    String name;

    public void call(String name) {
//        {
//            String name = "";
//        }
        System.out.println("给" + name + "打电话");
    }

    public void call() {
        System.out.println("打电话");
    }

    public void sendMessage() {
        System.out.println("发短信");
    }
}
